class AppIpPort {
  String ip;
  String port;

  AppIpPort(this.ip, this.port);

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ip'] = this.ip;
    data['port'] = this.port;
    return data;
  }

  factory AppIpPort.fromJson(Map<String, dynamic> json) {
    return AppIpPort(json['ip'], json['port']);
  }
}